package com.obas.menus {
	import com.ease.core.components.menus.AbstractMenuProvider;
	import com.obas.constants.StringConstants;
	import com.obas.utils.ResourceUtil;

	import mx.events.MenuEvent;

	public class EditMenuProvider extends AbstractMenuProvider {
		public function EditMenuProvider() {
			super();
		}

		override public function appendMenuItem(root:Object):void {
			var menuItems:Object={label: ResourceUtil.getString(StringConstants.MAIN_MENU_EDIT),
					children: [{label: "Cut", listener: onMenuItemClick},
						{label: "Copy", listener: onMenuItemClick},
						{label: "Paste", listener: onMenuItemClick},
						{type: "separator", listener: onMenuItemClick},
						{label: "Select All", listener: onMenuItemClick},
						{type: "separator", listener: onMenuItemClick},
						{label: "Find", listener: onMenuItemClick}
					]
				};
			root.children.push(menuItems);
		}
	}
}